// 地图插件
import { initAMapApiLoader } from '@vuemap/vue-amap'

import '@vuemap/vue-amap/dist/style.css'

// https://console.amap.com/dev/key/app
window._AMapSecurityConfig = {
    securityJsCode: 'f6a171d7f0fbad1260dc34b1fb091766' // 安全密钥
}

initAMapApiLoader({
    key: 'b60abc2d3f1e764c2a2d9b4fe94afd7c',
    Loca: {
        version: '2.0.0'
    },
    plugins: [
        'AMap.Autocomplete',
        'AMap.PlaceSearch',
        'AMap.Scale',
        'AMap.OverView',
        'AMap.ToolBar',
        'AMap.MapType',
        'AMap.PolyEditor',
        'AMap.CircleEditor',
        'AMap.Geocoder',
        'AMap.Geolocation'
    ]
})